package com.ruoyi.questionnaire.domain;

/**
 * 问卷答卷详情实体类
 * 
 * 用于存储问卷答卷中每个题目的具体答案信息
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public class QuestionnaireAnswerDetail {
    /** 详情ID，主键 */
    private Long id;
    
    /** 所属答卷ID，外键关联questionnaire_answer表 */
    private Long answerId;
    
    /** 题目ID，外键关联questionnaire_question表 */
    private Long questionId;
    
    /** 选项值，存储用户选择的选项内容或填空题的答案 */
    private String optionValue;

    /** 题目内容 */
    private String questionTitle;
    /** 选项中文内容 */
    private String optionLabel;

    // ==================== Getter/Setter 方法 ====================
    
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    
    public Long getAnswerId() { return answerId; }
    public void setAnswerId(Long answerId) { this.answerId = answerId; }
    
    public Long getQuestionId() { return questionId; }
    public void setQuestionId(Long questionId) { this.questionId = questionId; }
    
    public String getOptionValue() { return optionValue; }
    public void setOptionValue(String optionValue) { this.optionValue = optionValue; }

    public String getQuestionTitle() { return questionTitle; }
    public void setQuestionTitle(String questionTitle) { this.questionTitle = questionTitle; }
    public String getOptionLabel() { return optionLabel; }
    public void setOptionLabel(String optionLabel) { this.optionLabel = optionLabel; }
} 